package chapter.second.item3;

//容易被反射机制破坏
public class Singleton1 {
	public static final Singleton1 INSTANCE = new Singleton1();
	
	private Singleton1(){
	}
	
	public void someMethod(){
		//...
	}
	//避免每次反序列化一个序列化的实例时，都会创建一个新的实例
	private Object redSolve(){
		return INSTANCE;
	}
}


